package org.gwt.pluginframework.common.event;

public class CommonEvents {
	/**
	 * Event created when exception is handled.
	 */
	public static final String EXCEPTION_EVENT = "exceptionEvent";
	public static final String EXCEPTION_PARAMETER = "exception";
	
	/**
	 * Event created when plug-in has been initialized.
	 */
	public static final String PLUGIN_INITIALIZED_EVENT = "pluginInitializedEvent";

	/**
	 * Event created when plug-in has been started. 
	 */
	public static final String PLUGIN_STARTED_EVENT = "pluginStartedEvent";

	/**
	 * Event created when plug-in has been stopped.
	 */
	public static final String PLUGIN_STOPPED_EVENT = "pluginStoppedEvent";
	
	/**
	 * Event created when plug-in has been destroyed.
	 */
	public static final String PLUGIN_DESTROYED_EVENT = "pluginDestroyedEvent";
	
	/**
	 * Event created when manager has been initialized (all registered
	 * plug-ins has been initialized. 
	 * 
	 * Special event with no invoker.
	 */
	public static final String PLUGIN_MANAGER_INITIALIZED_EVENT = "pluginManagerInitializedEvent";

	/**
	 * Event created when manager has been started (all registered 
	 * plug-ins marked to be started has been started.
	 * 
	 * Special event with no invoker.
	 */
	public static final String PLUGIN_MANAGER_STARTED_EVENT = "pluginManagerStertedEvent";
}
